package com.itranswarp.learnjava;

public class Client {
    public static void main(String[] args) {
        //房东要租房子
        Host host = new Host();
        //代理,帮房东租房子, 代理角色有附属操作
        Proxy proxy = new Proxy(host);
        //不用面对房东,找中介租房即可
        proxy.rent();
    }
}
